<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>注册</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css">
</head>
<body>

<jsp:include page="../public/header.jsp"/>

<div class="lrbox">
    <!--右边栏-->
    <div class="listInfo">
        <div class="lr-h">
            <a href="" class="choose">手机注册</a>
            <a href="${pageContext.request.contextPath}/login">前往登录</a>
        </div>
        <form id="signup">
            <div>
                <label for="phoneIpt">手机号码</label>
                <span id="sp1"></span>
            </div>
            <div>
                <input type="text" maxlength="11" class="ipt1" id="phoneIpt" name="customerTel"
                       placeholder="请输入手机号">
            </div>
            <div>
                <label for="passwordIpt">密码</label>
                <span id="sp3"></span>
            </div>
            <div>
                <input type="password" class="ipt1" maxlength="16" id="passwordIpt" name="customerPassword"
                       placeholder="可以包含数字、字母以及下划线，6-16位">
            </div>
            <div>
                <label for="rePwdIpt">确认密码</label>
                <span id="sp4"></span>
            </div>
            <div>
                <input type="password" class="ipt1" maxlength="16" id="rePwdIpt"
                       placeholder="请确认密码">
            </div>
            <div>
                <label for="codeIpt">短信验证码</label>
                <span id="sp2"></span>
            </div>
            <div>
                <input type="text" class="ipt2" maxlength="6" id="codeIpt"
                       placeholder="请输入验证码">
                <button type="button" class="btn" id="sendCodeBtn">发送验证码</button>
            </div>
            <div>
                <span id="registerMsg"></span>
                <button type="button" class="btn" id="registerBtn" disabled>注册</button>
            </div>
        </form>
        <input type="hidden" value="${requestScope.publicKey}" id="publicKey">
    </div>
</div>


<script src="${pageContext.request.contextPath}/js/Object.prototype.serialize.js"></script>
<script src="${pageContext.request.contextPath}/dist/jsencrypt/jsencrypt.js"></script>
<script src="${pageContext.request.contextPath}/js/customerRegister.js"></script>

<jsp:include page="../public/footer.jsp"/>

</body>
</html>
